package com.qidian.zl.paper.dao;

import com.qidian.zl.paper.pojo.Admin;

import java.util.List;

public interface AdminDAO {
    int queryTotal(Admin admin);
    List<Admin> queryByPage(int page,int size,Admin admin);
    int save(Admin admin);
    Admin queryByName(String adminName);
    int update(Admin admin);
    Admin queryById(long adminId);
}
